﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;

namespace PowerEx
{
    public partial class View : Form
    {
        public RichTextBox Content { get; set; }
        public View()
        {
            InitializeComponent();
            Content = richTextBox1;           
        }

        private void View_ClientSizeChanged(object sender, System.EventArgs e)
        {
            Content.Height = this.Height-50;
            Content.Width = this.Width-20;
            
        }
    }
}
